package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.*;

import java.util.List;

/**
 * @version 1.0
 * @auther gwt
 * @date 2021/6/18 22:48
 */
public interface MemberService {

    Member findByTelephone(String telephone);

    void add(Member member);

    List<Integer> findMemberCountByMonth(List<String> months);

    /**
     * 分页查询
     * @param queryPageBean
     * @return
     */
    PageResult pageQuery(QueryPageBean queryPageBean);


    Member findById(Integer id);

    void upDate(Member member);

    void delete(Integer id);

    List<Member> findMemberIds(Integer[] memberIds);

}
